package com.woniuxy.secondhand.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 快递追踪表
 * </p>
 *
 * @author chaohuijiang
 * @since 2020-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("SEC_KUAIDI")
@ApiModel(value="SecKuaidi对象", description="快递追踪表")
@KeySequence("SEC_KD")
public class SecKuaidi implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    @TableId(value = "KUAIDI_ID",type = IdType.INPUT)
    private Integer kuaidiId;

    @ApiModelProperty(value = "true表示成功false表示失败")
    @TableField("SUCCESS")
    private String success;

    @ApiModelProperty(value = "0物流单号暂无结果，3在途，4 揽件，5 疑难，6签收，7退签，8 派件，9 退回")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "如果请求失败失败原因")
    @TableField("REASON")
    private String reason;

    @ApiModelProperty(value = "数据集合")
    @TableField("DATA")
    private String data;

    @ApiModelProperty(value = "每条数据的时间")
    @TableField("TIME")
    private LocalDateTime time;

    @ApiModelProperty(value = "每条数据的内容")
    @TableField("CONTEXT")
    private String context;

    @ApiModelProperty(value = "软删除")
    @TableField("FLAG")
    private Integer flag;


}
